package com.shemy.service;

import com.shemy.entity.User;

import java.util.List;

/**
 * @Description
 * @Author Dzsom
 * @Date 2019-04-26 17:29
 * @Encoding UTF-8
 * @Version 1.0
 **/
public interface UserService {

    void save(User user);

    List<User> findAll();

    User findById(long id);

    void delete(long id);
}
